﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace _05_Random
{
    class Program
    {
        static void Main(string[] args)
        {
            Random r = new Random();
            while (true)
            {
                int rNumber = r.Next(1,11);
                Console.WriteLine(rNumber);
                Console.ReadKey();
            }

        }
    }
}
